projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6f6c8
)
post: remove #warning for kirkwood CPUs
author
Valentin Longchamp
<
[email protected]
>
Fri, 30 Mar 2012 03:29:28 +0000
(
03:29
+0000)
committer
Wolfgang Denk
<
[email protected]
>
Fri, 30 Mar 2012 16:21:09 +0000
(18:21 +0200)
Since commit
96f5c4b
the needed functions (get_ticks() and get_tbclk() )
are defined for kirkwood CPUs as well. This warning is then not relevant
anymore.
Signed-off-by: Valentin Longchamp <
[email protected]
>
cc: Holger Brunck <
[email protected]
>
cc: Prafulla Wadaskar <
[email protected]
>
cc: Albert Aribaud <
[email protected]
>
post/post.c
patch
|
blob
|
history
diff --git
a/post/post.c
b/post/post.c
index 7c2bdf07803514d202bb30c1842ed23f02a33d53..b3ed2e1b49819fb488587136c1dab9a79cf2bce1 100644
(file)
--- a/
post/post.c
+++ b/
post/post.c
@@
-495,8
+495,7
@@
void post_reloc(void)
*/
unsigned long post_time_ms(unsigned long base)
{
-#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || \
- (defined(CONFIG_ARM) && !defined(CONFIG_KIRKWOOD))
+#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || defined(CONFIG_ARM)
return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ)
- base;
#else